package com.ddadmin.modules.job.service;

import com.ddadmin.common.web.domain.request.PageDomain;
import com.ddadmin.modules.job.domain.ScheduleLogBean;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IScheduleLogService {

    /**
     * Describe: 定时任务日志入库
     * Param: ScheduleJob
     * Return: Boolean 执行结果
     */
    Boolean insert(ScheduleLogBean scheduleLog);

    /**
     * Describe: 定时任务列表
     * Param: ScheduleJob
     * Return: List
     */
    List<ScheduleLogBean> list(ScheduleLogBean scheduleLogBean);

    /**
     * Describe: 定时任务列表  分页
     * Param: ScheduleJob
     * Return: pageInfo
     */
    PageInfo<ScheduleLogBean> page(ScheduleLogBean scheduleLogBean, PageDomain pageDomain);

}
